package com.deep.product.exception;

import org.springframework.http.HttpStatus;

/**
 * @author Deep
 * @date 2022/1/24
 */
public class FeignRequestException extends AbstractException{
    public FeignRequestException(String message) {
        super(message);
    }

    public FeignRequestException(String message, Throwable cause) {
        super(message, cause);
    }

    @Override
    public HttpStatus getStatus() {
        return HttpStatus.BAD_REQUEST;
    }
}
